STEP 11: Wait a second! You bought milk yesterday. Let's remove milk from the basics list.

  • Go to and drag out Remove. Drop it at the bottom of your program.
  • Change the name in front of .remove() to basics.
  • Change the parameter in .remove() to the string "milk".
  • Go to and use Update Display to update basics_display to the new values of basics.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)